package org.webdriver.patatiumwebui.pageObject;

import org.webdriver.patatiumwebui.utils.BaseAction;
import org.webdriver.patatiumwebui.utils.Locator;

import java.io.IOException;

public class POManagePage extends BaseAction {
    private String path="src/main/java/org/webdriver/patatiumwebui/pageObjectConfig/UILibrary/SMSLibrary.xml";
    public   POManagePage() {
//工程内读取对象库文件
        setXmlObjectPath(path);
        getLocatorMap();
    }

    public Locator 新建按钮() throws IOException
    {
        Locator locator=getLocator("新建按钮");
        return locator;
    }

}
